home *** CD-ROM | disk | FTP | other *** search
- Path: gryphon.phoenix.net!usenet
- From: brucew@phoenix.net (Bruce Wedding)
- Newsgroups: comp.lang.c
- Subject: Re: HELP!! BAMBOOZLED BEGINNER!!
- Date: Fri, 02 Feb 1996 21:56:39 GMT
- Organization: BranPaul Systems
- Message-ID: <4etv35$nvf@gryphon.phoenix.net>
- References: <Pine.OSF.3.91l.960130235948.20497A-100000@saul3.u.washington.edu> <4eru59$s8t@gryphon.phoenix.net> <TANMOY.96Feb2114543@qcd.lanl.gov>
- NNTP-Posting-Host: dial89.phoenix.net
- X-Newsreader: Moe's Newsreader
-
- > change this to scanf("%U", &i);
- >
- >What is %U? Did you mean %lu?
-
- Well, that is what I had originally. In my quest to make sure it
- was correct, I mistakenly assumed that Borland wouldn't add
- extensions to an ANSI function. :(
-
- > scanned = scanf("%U*%c", &power);
-
- > Did you mean %*c by any chance?
-
- Indeed I did Tanmoy. Good eye. You know, sometimes I wish this
- undefined behavior resulted in the catastrophies that it is
- always claimed to. Then this code would have never been posted
- incorrectly.
-
-
- Bruce D. Wedding Have Compiler, Will Travel!
- Perspicacious Programming Performed Promptly
- Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
-
-